export function defReducer(state={},action){
    console.log("defReducer",action);
    switch(action.type){
        case "login_success":
            console.log(action.type);
            return {

            };
        break;
        case "UPDATE_USER":{
            console.log(action);
            break;
        }
        default:
            break;
    }
    return Object.assign({},state,action);
}